package com.pronosticnews.client.admin.view.listStade;

import java.util.List;

import com.google.gwt.user.cellview.client.ColumnSortList;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.ui.IsWidget;
import com.google.gwt.view.client.HasData;
import com.pronosticnews.shared.model.StadeDto;

import fr.ysa.services.config.ConfigRequetesDto;
import fr.ysa.services.config.FiltreDto;

public interface ListStadeView extends IsWidget {

	void setPresenter(Presenter presenter);

	HasData<StadeDto> getHasData();

	ColumnSortList getColumnSortList();

	void setStade(int debut, List<StadeDto> result);

	void setRowCount(Integer result);

	public interface Presenter {
		public void getListStade(ConfigRequetesDto config,
				AsyncCallback<List<StadeDto>> callback);

		public void supprimeSelected();

		public void updateFiltreRequete(List<FiltreDto> filtres);
	}

}
